import request from '@/utils/request'

//添加房屋和房源信息
export function saveHouseRoom(house,room){
  return request({
    url: '/room/tbHouseInfo/saveHouseRoom',
    method: 'post',
    data: {house,room}
  })
}
//查询房间配套
export function publiclist(){
  return request({
    url: '/room/tbHouseInfo/publiclist',
    method: 'get',
  })
}

//查询公共配套
export function privatelist(){
  return request({
    url: '/room/tbHouseInfo/privatelist',
    method: 'get',
  })
}

//查询系统管家
export function getlist() {
  return request({
    url: '/room/user/getUser',
    method: 'get',
  })
}
//添加房间
export function addroom(roomform){
  return request({
    url: '/room/tbRoomInfo/add',
    method: 'post',
    data:roomform,
  })
}
//查询房源图片和编号
export function list(){
  return request({
    url: '/room/tbRoomInfo/list',
    method: 'get',
  })
}


